<%--
  Created by IntelliJ IDEA.
  User: 86137
  Date: 2021/8/1
  Time: 12:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>add</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/userServlet?method=add" method="post">

    <label for="name">name:</label><input type="text" id="name" size="8" name="name"/><br>
    <label>gender:</label> <input type="radio" name="gender" value="男" checked="checked"/>男
    <input type="radio" name="gender" value="女">女<br>
    <label for="age">age:</label><input type="number" id="age" size="8" name="age"/><br>
    <label for="address">address:</label>
    <select name="address" id="address">
       <option value="北京">北京</option>
        <option value="上海">上海</option>
        <option value="广州">广州</option>
        <option value="深圳">深圳</option>
    </select><br>
    <label for="qq">QQ:</label><input type="number" id="qq" size="8" name="qq"/><br>
    <label for="email">E-Mail:</label><input type="email" id="email" size="20" name="email"/><br>
    <button type="submit">add</button>
    <button type="reset">reset</button>
    <button type="button"><a href="${pageContext.request.contextPath}/userServlet?method=findAll" style="text-decoration: none">return</a></button>

</form>

</body>
</html>
